package it.koutifaris.travianmap.map.randommap;

import it.koutifaris.travianmap.map.MapSquare;
import it.koutifaris.travianmap.map.WorldMap;
import it.koutifaris.travianmap.tile.tilemap.TiledWorldMap;

public class RandomWorldMap implements WorldMap {

	private final TiledWorldMap delegate;

	public RandomWorldMap(int radius) {
		delegate = new TiledWorldMap(new RandomTileLoader(), radius);
	}

	@Override
	public MapSquare getSquareAt(int x, int y) {
		return delegate.getSquareAt(x, y);
	}

	@Override
	public int getRadius() {
		return delegate.getRadius();
	}

}
